package com.eachonline.smart.model.base;

import com.eachonline.model.BaseModel;
import java.io.Serializable;
import java.util.Date;

public class BaseSmartUserDetail extends BaseModel implements Serializable {
    private String userId;

    private String userRealName;

    private String userCardNo;

    private String userFrontCardpic;

    private String userVersoCardpic;

    private Date createTime;

    private String userDetailAddress;

    private String userCity;

    private String userProvince;

    private String skillOrient;

    private String workExp;

    private static final long serialVersionUID = 1L;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserRealName() {
        return userRealName;
    }

    public void setUserRealName(String userRealName) {
        this.userRealName = userRealName == null ? null : userRealName.trim();
    }

    public String getUserCardNo() {
        return userCardNo;
    }

    public void setUserCardNo(String userCardNo) {
        this.userCardNo = userCardNo == null ? null : userCardNo.trim();
    }

    public String getUserFrontCardpic() {
        return userFrontCardpic;
    }

    public void setUserFrontCardpic(String userFrontCardpic) {
        this.userFrontCardpic = userFrontCardpic == null ? null : userFrontCardpic.trim();
    }

    public String getUserVersoCardpic() {
        return userVersoCardpic;
    }

    public void setUserVersoCardpic(String userVersoCardpic) {
        this.userVersoCardpic = userVersoCardpic == null ? null : userVersoCardpic.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserDetailAddress() {
        return userDetailAddress;
    }

    public void setUserDetailAddress(String userDetailAddress) {
        this.userDetailAddress = userDetailAddress == null ? null : userDetailAddress.trim();
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity == null ? null : userCity.trim();
    }

    public String getUserProvince() {
        return userProvince;
    }

    public void setUserProvince(String userProvince) {
        this.userProvince = userProvince == null ? null : userProvince.trim();
    }

    public String getSkillOrient() {
        return skillOrient;
    }

    public void setSkillOrient(String skillOrient) {
        this.skillOrient = skillOrient == null ? null : skillOrient.trim();
    }

    public String getWorkExp() {
        return workExp;
    }

    public void setWorkExp(String workExp) {
        this.workExp = workExp == null ? null : workExp.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", sid=").append(sid);
        sb.append(", userId=").append(userId);
        sb.append(", userRealName=").append(userRealName);
        sb.append(", userCardNo=").append(userCardNo);
        sb.append(", userFrontCardpic=").append(userFrontCardpic);
        sb.append(", userVersoCardpic=").append(userVersoCardpic);
        sb.append(", createTime=").append(createTime);
        sb.append(", userDetailAddress=").append(userDetailAddress);
        sb.append(", userCity=").append(userCity);
        sb.append(", userProvince=").append(userProvince);
        sb.append(", skillOrient=").append(skillOrient);
        sb.append(", workExp=").append(workExp);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BaseSmartUserDetail other = (BaseSmartUserDetail) that;
        return (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSid() == null) ? 0 : getSid().hashCode());
        return result;
    }
}